import { request } from '@/utils/request';

import { MenuItem } from './model';

/**
 * 获取菜单列表
 * @returns
 */
export function getMenuList() {
  return request.get<MenuItem[]>({
    url: `/platform/s/userMenuOperateTree`,
  });
}
